workspace 'GenericApp'
platform :ios, '14.0'

use_frameworks!

def shared_pods
  pod 'MaterialComponents/TextFields'
  pod 'MaterialComponents/Buttons'
end


target 'GenericApp' do
  project 'GenericApp'
  shared_pods
  pod 'Firebase/Messaging'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/Analytics'
  pod 'IQKeyboardManagerSwift'
  pod 'DropDown'
end

target 'NotificationService' do
  project 'GenericApp'
  shared_pods
  pod 'Firebase/Messaging'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/Analytics'
end

target 'ORLib' do
  shared_pods
  project '../ORLib/ORLib'
end

post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
      target.build_configurations.each do |config|
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
       end
    end
  end
end